class AddMathAndCsMajors < ActiveRecord::Migration
  def self.up
    Major.create(:advisor => 'Enid Steinbart', :free_elective_hours => 15, :ss_elective_hours => 5, :title => 'Discrete Mathematics', :id => 1, :technical_elective_hours => 15, :humanities_elective_hours => 5, :department_id => 1)
    Major.create(:advisor => 'Kath or Cathy', :free_elective_hours => 15, :title => 'Computer Science', :ss_elective_hours => 5, :technical_elective_hours => 15, :id => 2, :humanities_elective_hours => 5, :department_id => 2)
  end

  def self.down
    Major.destroy_all "id < 3"
  end
end
